<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>My App</title>
    <link rel="stylesheet" href="../../packages/core/css/framework7.min.css">
    <link rel="stylesheet" href="../../css/framework7-icons.css">
  </head>
  <body>
    <div id="app">
      <div class="view view-main view-init">
        <div class="page">
          <div class="navbar">
            <div class="navbar-inner">
              <div class="left"></div>
              <div class="title">Range Slider</div>
              <div class="right"></div>
            </div>
          </div>
          <div class="page-content"><div class="block-title">Volume</div>
<div class="list simple-list">
<ul>
<li>
<div class="item-cell width-auto flex-shrink-0">
<i class="icon f7-icons ios-only" style="width:25px">volume_mute_fill</i>
<i class="icon material-icons md-only" style="width:24px">volume_mute</i>
</div>
<div class="item-cell flex-shrink-3">
<div class="range-slider range-slider-init">
<input type="range" min="0" max="100" step="1" value="10">
</div>
</div>
<div class="item-cell width-auto flex-shrink-0">
<i class="icon f7-icons ios-only" style="width:25px">volume_fill</i>
<i class="icon material-icons md-only" style="width:24px">volume_up</i>
</div>
</li>
</ul>
</div>
<div class="block-title">Brightness</div>
<div class="list simple-list">
<ul>
<li>
<div class="item-cell width-auto flex-shrink-0">
<i class="icon f7-icons ios-only" style="width:25px">circle</i>
<i class="icon material-icons md-only" style="width:24px">brightness_low</i>
</div>
<div class="item-cell flex-shrink-3">
<div class="range-slider range-slider-init color-orange" data-label="true">
<input type="range" min="0" max="100" step="1" value="50">
</div>
</div>
<div class="item-cell width-auto flex-shrink-0">
<i class="icon f7-icons ios-only" style="width:25px">circle_half</i>
<i class="icon material-icons md-only" style="width:24px">brightness_high</i>
</div>
</li>
</ul>
</div>
<div class="block-title display-flex justify-content-space-between">Price Filter <span class="price-value">$200 - $400</span></div>
<div class="list simple-list">
<ul>
<li class="item-row">
<div class="item-cell width-auto flex-shrink-0">
<i class="icon f7-icons ios-only" style="width:25px">money_dollar</i>
<i class="icon material-icons md-only" style="width:24px">attach_money</i>
</div>
<div class="item-cell item-cell-shrink-3">
<div id="price-filter" class="range-slider range-slider-init color-green" data-label="true" data-dual="true" data-min="0" data-max="500" data-step="1" data-value-left="200" data-value-right="400"></div>
</div>
<div class="item-cell width-auto flex-shrink-0">
<i class="icon f7-icons ios-only" style="width:25px">money_dollar_fill</i>
<i class="icon material-icons md-only" style="width:24px">monetization_on</i>
</div>
</li>
</ul>
</div>
          </div>
        </div>
      </div>
    </div>
    <script type="text/javascript" src="../../packages/core/js/framework7.min.js"></script>
    <script>
      var theme = 'ios';
      if (location.href.indexOf('theme=md') >= 0) theme = 'md';
      var plugin = {
        params: {
          theme: theme,
          root: '#app',
        }
      };
      if (Framework7.use) Framework7.use(plugin);
      else if (Framework7.Class && Framework7.Class.use) Framework7.Class.use(plugin);
      
    </script>
    <script>
      var app = new Framework7();
      
      var $$ = Dom7;
      
      $$('#price-filter').on('range:change', function (e, range) {
        $$('.price-value').text('$'+(range.value[0])+' - $'+(range.value[1]));
      });
    </script>
  </body>
</html>